﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
namespace TS_XY_Train_Repaire.WPF.UserCon
{
    /// <summary>
    /// RepairTrainSpirit.xaml 的交互逻辑
    /// </summary>
    public partial class RepairFittingsSpirit : UserControl, IWPF_RepairFittingsSpirit_OBJ
    {
        public RepairFittingsSpirit()
        {
            InitializeComponent();
        }
        double _CenterX;
        /// <summary>
        /// 精灵单位图片左上角点与精灵图片中角色角底的X距离
        /// </summary>
        public double CenterX
        {
            get { return _CenterX; }
            set { _CenterX = value; }
        }

        double _CenterY;
        /// <summary>
        /// 精灵单位图片左上角点与精灵图片中角色角底的Y距离
        /// </summary>
        public double CenterY
        {
            get { return _CenterY; }
            set { _CenterY = value; }
        }
        double _iHeight;
        /// <summary>
        /// 精灵单位图片左上角点与精灵图片中角色角底的X距离
        /// </summary>
        public double iHeight
        {
            get { return _iHeight; }
            set { _iHeight = value; }
        }

        double _iWidth;
        /// <summary>
        /// 精灵单位图片左上角点与精灵图片中角色角底的Y距离
        /// </summary>
        public double iWidth
        {
            get { return _iWidth; }
            set { _iWidth = value; }
        }
        int _iBMWID;
        /// <summary>
        /// 作业主ID
        /// </summary>
        public int iBMWID
        {
            get { return _iBMWID; }
            set { _iBMWID = value; }
        }
        int _iWorkPlaceID;
        /// <summary>
        /// 工位ID
        /// </summary>
        public int iWorkPlaceID
        {
            get { return _iWorkPlaceID; }
            set { _iWorkPlaceID = value; }
        }
        int _iTrainID;
        /// <summary>
        /// 机车ID
        /// </summary>
        public int iTrainID
        {
            get { return _iTrainID; }
            set { _iTrainID = value; }
        }
        int _iTrainState;
        /// <summary>
        /// 机车状态
        /// </summary>
        public int iTrainState
        {
            get { return _iTrainState; }
            set { _iTrainState = value; }
        }
        int _iWorkState;
        /// <summary>
        /// 机车工作状态
        /// </summary>
        public int iWorkState
        {
            get { return _iWorkState; }
            set { _iWorkState = value; }
        }
        string _sRPName;
        /// <summary>
        /// 机车修次
        /// </summary>
        public string sRPName
        {
            get { return _sRPName; }
            set { _sRPName = value; }
        }
        string _sTrainName;
        /// <summary>
        /// 机车号
        /// </summary>
        public string sTrainName
        {
            get { return _sTrainName; }
            set { _sTrainName = value; }
        }
        string _sTime;
        /// <summary>
        /// 机车开修时间
        /// </summary>
        public string sTime
        {
            get { return _sTime; }
            set { _sTime = value; }
        }
    }
}
